package com.java.demo.service;


import com.java.demo.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Service5 {
    @Autowired
    private User user;
    public void sayHi(){
        System.out.println(user.toString());
    }
}
